// export type ContactType = "contact" | "group";

export interface Contact {
  id: number;
  username: string;
  avatar: string;
  category: string;
  remark: string;
  status: number;
  nickname: string;
  friendId: number;
  type: "contact";
}

export interface ChatGroup {
  id: number;
  name: string;
  avatar: string;
  announcement?: string;
  description?: string;
  maxMember?: number;
  memberCount?: number;
  memberIds?: number[];
  ownerName?: string;
  status: number;
  lastMessage?: string;
  type: "group";
}
